<%@ page contentType="text/html;charset=UTF-8" pageEncoding="UTF-8" %>
<!DOCTYPE html>
<html lang="en">
<head>
    <title>upload file</title>
</head>
<body>
<form method="post" enctype="multipart/form-data" action="/demo/upload">
    <input name="file" type="file"/>
    <input type="submit" value="submit"/>
</form>
</body>
</html>
